﻿using System.Collections.Generic;
using Rsdn.Janus.ObjectModel;

namespace Rsdn.Janus
{
    /// <summary>
    /// When need to update more than one item in the incoming folder
    /// Where place now only forum and it's inheritances
    /// </summary>
    internal interface IIncomingFolderUpdate
    {
        /// <summary>
        /// Adds the additional update.
        /// </summary>
        /// <param name="forum">The forum.</param>
        void AddUpdate(Feature forum);

        /// <summary>
        /// Gets all needed updates.
        /// </summary>
        /// <value>The get updates.</value>
        IEnumerable<Feature> GetUpdates { get; }
    }
}